package com.supsky.base;

public enum ReturnCode {

    /** 操作成功 */
    SUCCESS(200, "success"),

    /** 操作失败 */
    FAIL(500, "error");



    private int val;
    private String msg;

    private ReturnCode(int value, String msg){
        this.val = value;
        this.msg = msg;
    }

    public int val() {
        return val;
    }

    public String msg() {
        return msg;
    }

}
